package com.lovo.test.zuoye;

import java.awt.*;

public class Card {
    /** 点数 */
    private String point;
    /** 花色（黑桃、红心、梅花、方块，♠、♥、♣、♦） */
    private String type;

    private int pointvalue;

    private int typevalue;

    private String image;

    public Card() {

    }

    public Card(String type, String point) {
        this.point = point;
        this.type = type;
    }

    public Card(String point, String type, int pointvalue, int typevalue) {
        this.point = point;
        this.type = type;
        this.pointvalue = pointvalue;
        this.typevalue = typevalue;
    }

    public Card(String point, String type, int pointvalue, int typevalue, String image) {
        this.point = point;
        this.type = type;
        this.pointvalue = pointvalue;
        this.typevalue = typevalue;
        this.image = image;
    }

    @Override
    public String toString() {
        return type + point;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPointvalue() {
        return pointvalue;
    }

    public void setPointvalue(int pointvalue) {
        this.pointvalue = pointvalue;
    }

    public int getTypevalue() {
        return typevalue;
    }

    public void setTypevalue(int typevalue) {
        this.typevalue = typevalue;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}
